package com.chushouya.manager.dto.admin.attachment;

import com.general.framework.core.schema.PageRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel("附件列表查询条件")
public class AttachmentQuery extends PageRequest {

    @ApiModelProperty("附件ID")
    private Long attachmentId;

    @ApiModelProperty("父级目录ID")
    private Long directoryId;

    @ApiModelProperty("附件名称")
    private String attachmentName;

    @ApiModelProperty("文件类型")
    private String mimeType;

    @ApiModelProperty("状态")
    private Byte status;

    @ApiModelProperty("操作人")
    private String handleUser;

    @ApiModelProperty("开始时间")
    private Date startTime;

    @ApiModelProperty("结束时间")
    private Date endTime;
}
